package com.lagou.repository;

import com.lagou.entity.COrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Repository
public interface COrderRepository extends JpaRepository<COrder,Long> {

    public List<COrder> findAllByUserId(Integer userId);
}
